package com.xinpu.service;


import com.baomidou.mybatisplus.annotation.SqlParser;
import com.xinpu.vo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataAnalysisService {
    List<NewlyIncreasedUserOrClueVo> newlyIncreasedUser(String tenantId, Integer condition);

    List<NewlyIncreasedUserOrClueVo> newlyIncreasedClue(String tenantId, Integer condition);

    List<DataAnalysisStatusOrSourceVo> DataAnalysisStatus(String tenantId);

    List<DataAnalysisStatusOrSourceVo> DataAnalysisSource(String tenantId);

    NewlyIncreasedUserOrClueVo newlyIncreasedUserX(Integer id, String date);

    NewlyIncreasedUserOrClueVo newlyIncreasedClueX(Integer id, String date);

    MonthDataVo monthDataVo(Integer id);

    NewlyIncreasedUserOrClueVo quarterDate(Integer id, String date, String date1);

    MonthDataVo clueMonthDataVo(Integer id);

    NewlyIncreasedUserOrClueVo clueQuarterDate(Integer id, String date, String date1);


    List<PhotoDataVo> PhotoP(String tenantId, Integer condition);

    List<OrderDateVo> OrderP(String tenantId, Integer condition);

    CardDataVo cardData(Integer id, Integer type);


    Integer sum(Integer id,String tenantId,String date);

    Integer clueNum(Integer id,String tenantId,String date);

    Integer usereNum(Integer id,String tenantId,String date);

}
